The rdoQuery or rdoResultset has no active connection  (Error 40074).

The operation you attempted is not permitted unless the object has an active connection.